package com.cskaoyan.service.adminservice;

import com.cskaoyan.bean.po.MarketOrder;
import com.cskaoyan.bean.po.MarketOrderGoods;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.chaosbean.order.bo.ShipBO;
import com.cskaoyan.bean.chaosbean.order.vo.ChannelVO;
import com.cskaoyan.bean.chaosbean.order.vo.DetailVO;
import com.cskaoyan.bean.chaosbean.vxorder.vo.ListVO;
import com.cskaoyan.bean.chaosbean.vxorder.vo.VXDetailVO;

import java.util.Date;
import java.util.List;

/**
 * @author 楚夏三分
 * @datetime 2022/12/28 19:00
 * @description: TODO:
 */
public interface OrderService {
    CommonData<MarketOrder> list(BasePageInfo info, Date start, Date end, String orderSn, String userId, Short[] orderStatusArray);

    DetailVO detail(Integer id);

    void ship(ShipBO shipBO);

    List<ChannelVO> channel();

    void deleteOrder(Integer orderId);

    void refund(Integer orderId, Double refundMoney);

    ListVO listOrder(BasePageInfo info, Integer showType);

    VXDetailVO vxOrderDetail(Integer orderId);

    void vxUpdateStatus(Integer orderId);

    void vxUpdateStatusConfirmById(Integer id);

    MarketOrderGoods vxOrderGoodsComment(Integer oId, Integer gId);




    void vxUpdateStatusRefund(Integer id);
}
